﻿using CommunityToolkit.Mvvm.DependencyInjection;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CSharpDevTools.ViewModels
{
    internal class ViewModelLocator
    {
        public MainWindowViewModel MainViewModel => Ioc.Default.GetRequiredService<MainWindowViewModel>();

        public HomeControlViewModel HomeViewModel => Ioc.Default.GetRequiredService<HomeControlViewModel>();

        public MD5ControlViewModel MD5ViewModel => Ioc.Default.GetRequiredService<MD5ControlViewModel>();

        public DESControlViewModel DESViewModel => Ioc.Default.GetRequiredService<DESControlViewModel>();

        public DES_JSControlViewModel DES_JSViewModel => Ioc.Default.GetRequiredService<DES_JSControlViewModel>();

        public Base64ControlViewModel Base64ViewModel => Ioc.Default.GetRequiredService<Base64ControlViewModel>();

        public ImageBase64ControlViewModel ImageBase64ViewModel => Ioc.Default.GetRequiredService<ImageBase64ControlViewModel>();

        public TimestampControlViewModel TimestampViewModel => Ioc.Default.GetRequiredService<TimestampControlViewModel>();

        public JsonControlViewModel JsonViewModel => Ioc.Default.GetRequiredService<JsonControlViewModel>();
    }
}
